php forum
php mysql forum
php mysql smarty
 
Topic Options
#200406 - 06/16/03 12:19 PM [6.5] Category Styles
lbritish Offline
Junior Member

Registered: 03/24/02
Posts: 14
Loc: Germantown, MD
Modification Name: Category Styles for 6.5.0

Author(s): Original by LK , Ported to 6.5.0 Lbritish

Description: Category Style Modification for 6.5.0 LK wrote a mod for 6.3.0 that made category forum summaries able to be hidden and use styles. I have not used any versions in between 6.3 and 6.5 so if 6.4 works I have no idea... It is NOT compatible with 6.3 anymore in this version so use LK's version for that. Really all I did was update most of the find's to match the new wordlet usages and a few column size lines. Most of this is STILL LK's code so credit goes to him for the mod still. I just figured out how to shove it into 6.5 since UBB updated the table header stuff. Dont ask LK about implementation of this in 6.5 since he didnt write it for 6.5 anyway... Thanks...

Requirements: UBB 6.5.0 fully licensed. Read lbritish's comments in the mod. If it dont work dont bug LK... it's not his fault... smile He didnt even know this was coming...

Download Link: http://www.littlefishtank.com/download/catstyle.zip

Credits: LK for 6.3.0 compatible version.

Notes: I only needed it for a private hidden restricted forum so I dont really wanna post the url for it. If you have a demo using it that is public please post it.

Thanks!
LBritish
_________________________
LBritish

Top
#200407 - 06/16/03 09:54 PM Re: [6.5] Category Styles
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
cool, thanks smile
_________________________
- Allen wavey
- What Drives You?

Top
#200408 - 06/17/03 11:24 AM Re: [6.5] Category Styles
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
I'm only using it for ability to hide categories, but that part works awesome smile I've been looking for something like this for my private forums. Now if there was only a way to make private categories. The cp looked fine when I removed the width declarations. This is one of the easiest hacks I've done, and yet one of the most important smile

Top
#200409 - 06/17/03 12:45 PM Re: [6.5] Category Styles
lbritish Offline
Junior Member

Registered: 03/24/02
Posts: 14
Loc: Germantown, MD
Yeah... it really should be part of the base program but Infopop "has not gotten around to it" I guess. It is one of the most logical steps in the process. Hopefully they will take this into consideration when they build the next one.

As I said in my comments the width declarations when removed look fine. I guess Infopop was trying to be "pretty" with 6.5 but once we hack it around and stick the new stuff in it looks fine smile

It's definately a great mod and credit really belongs to LK for it since it was his mod to begin with. One day I would like to see it hide the forums on the category if you are not registered, not logged in, and/or not approved to read when they are private forums. Maybe LK will figure that one out next... wink
_________________________
LBritish

Top
#200410 - 06/17/03 12:57 PM Re: [6.5] Category Styles
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
good job laugh

about hiding from certain users, it'd make your UBB slower because UBB uses cache. (it saves the HTML version of forum summary every time a post is made, so it'd make your UBB slower if the categories would be visible to only some users)

about disallowing some users to view categories when they go to ?category=X manually (if you choose to hide a category), that is possible, with just a few lines.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#200411 - 06/17/03 01:20 PM Re: [6.5] Category Styles
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Quote:
quote:
Originally posted by LK:
good job laugh

about disallowing some users to view categories when they go to ?category=X manually (if you choose to hide a category), that is possible, with just a few lines.
that's what I was hoping for.

Top
#200412 - 06/22/03 03:24 PM Re: [6.5] Category Styles
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
hey LK, what would those few lines be? smile

Top
#200413 - 06/23/03 06:36 AM Re: [6.5] Category Styles
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
in ubb_forum_summary.cgi (untested):[code][/code]you can also variate it to check if the user is a certain number (like 00000055) you can check $user_number.
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top



Moderator:  Charles, Gizmo 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks